-
Notifications
You must be signed in to change notification settings - Fork 25
chore: use Java 21 for building sigstore-java #1044
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
8710430 to
3fab0dd
Compare
Should we prefer using
|
sure go for it. |
|
I can adjust for and fix this problem with URI/URL. |
|
There's some confusion in sigstore-testkit/src/main/kotlin/dev/sigstore/testkit/BaseGradleTest.kt, I'm not super sure how to resolve testing compatibility. |
62b3400 to
8834302
Compare
|
Looks like ossfuzz hard-codes Java 17 in its builder image: https://github.com/google/oss-fuzz/tree/ce8bd4360b38fd6a4f83c27de5ecee2d0fe24e49/infra/base-images/base-builder-jvm It sounds like an unfortunate decision. See: |
65cc790 to
4ec4b08
Compare
This change bumps JDK we use when building the project, and it is mainly to avoid known bugs in the toolchain. The resulting binaries should still be compatible with Java 11. At the same time, the commit skips "./gradlew test" checks for Java 11, and we still execute tests with Java 11 via conformance.yml. It would allow us to bump testing libraries as some of them require Java 17. Signed-off-by: Vladimir Sitnikov <[email protected]>
|
@loosebazooka , I think this is workable except |
|
I don't know how this passed on this PR with gradle 7.X. I'll have to go update that test to skip gradle 7.X for java 21+ |
Summary
This change bumps JDK we use when building the project, and it is mainly to avoid known bugs in the toolchain.
The resulting binaries should still be compatible with Java 11.
At the same time, the commit skips "./gradlew test" checks for Java 11, and we still execute tests with Java 11 via conformance.yml.
It would allow us to bump testing libraries as some of them require Java 17.
Release Note
Documentation
NONE